package com.zhdl.modules.wallpulley.web.service;

import com.zhdl.modules.wallpulley.web.req.EventRecordsReq;
import com.zhdl.modules.wallpulley.web.resp.EventInfoSSeResp;
import com.zhdl.modules.wallpulley.web.resp.EventRecordsResp;
import com.zhdl.modules.wallpulley.web.resp.EventListResp;
import com.zhdl.modules.wallpulley.web.resp.ParameterSettingsResp;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

public interface WallPulleyService {
    List<EventRecordsResp> findAllEventRecords();

    EventInfoSSeResp findInfoByEventId(int id);

    List<ParameterSettingsResp> findAllParam();

    void saveParamSetting(ParameterSettingsResp parameterSettingsResp);

    Page<EventRecordsResp> findAllEvents(Pageable pageable);

    void getEventCount(EventListResp eventListResp);

    Page<EventRecordsResp> findAllRecords(EventRecordsReq request, Pageable pageable);
}
